<template>
  <XContainer class="not-found" fit justify="center">
    <ElEmpty description="404-找不到页面"></ElEmpty>
  </XContainer>
</template>
<script lang="ts" setup>
import { XContainer } from 'cfg-packages-web';
import { ElEmpty, ElMessage } from 'element-plus';
ElMessage.warning({
  message: '1秒后跳回启动页'
});
setTimeout(() => {
  const path = window.location.pathname + '#/';
  window.location.href = path;
}, 1000);
</script>
